package com.CIM.CIM_Spring;

import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@Slf4j
@SpringBootApplication
// 开启组件扫描，扫描如过滤器等组件
@ServletComponentScan
// 开启事务支持
@EnableTransactionManagement
public class Application {
    public static void main(String[] args) {
        System.setProperty("jna.encoding", "resources/");
        SpringApplication.run(Application.class, args);
        log.info("项目启动成功...");
    }
}
